﻿using System;
using System.Collections.Generic;
using System.Text;
using AppleAutoBuy.Model;

namespace AppleAutoBuy.Common
{
    public static class ResourceManager
    {

        #region const string

        public const string RunType_Repeat = "repeat";
        public const string RunType_Loaded = "loaded";

        #endregion

        #region Static Ctor

        static ResourceManager()
        {
            string fileName = "data.xml";
            AppleData = AppleSerializerUtil.DeserializeAppleData(fileName);
        }

        #endregion

        #region Static Property

        public static AppleData AppleData
        {
            get;
            private set;
        }

        #endregion
    }
}
